﻿<%@ Page Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Performer.aspx.cs" Inherits="ViewArtist" Title="Flytjendur" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <asp:Panel ID="ArtistInfoPanel" runat="server">
        <h2>Upplýsingar um flytjanda</h2>
        
        <div class="artistImage"><asp:Image ID="imgArtistImage" runat="server" 
                AlternateText="Mynd af flytjanda vantar" /></div>
        
        <p><span class="label">Nafn</span> 
            <span class="input"><asp:Literal ID="litArtistName" runat="server" /></span></p>
        <p><span class="label">Lýsing</span> 
            <span class="input"><asp:Literal ID="litArtistDesc" runat="server" /></span></p>
        <p><span class="label">Vefslóð</span> 
            <span class="input"><asp:HyperLink ID="litWwwUrl" runat="server" Target="_new">
            <asp:Literal ID="litArtistUrl" runat="server" /></asp:HyperLink></span></p>  
    </asp:Panel>
 
 <div class="submenu">
 <h3>Annað</h3>
 <p><span class="input"><asp:HyperLink ID="litWikipediaUrl" runat="server" Target="_new" class="wp_share_link">
    Leita á Wikipedia</asp:HyperLink></span></p>
 <p><script>function fbs_click() {u=location.href;t=document.title;window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436');return false;}</script>
            <a href="http://www.facebook.com/share.php?u=<url>" onclick="return fbs_click()" target="_blank" class="fb_share_link">Senda á Facebook</a></p>
 </div>
    
    <div class="submenu">
        <h3>Lög flytjenda á vinsældalistum</h3>
        <asp:GridView ID="m_gridSongsWithPerformer" runat="server" AutoGenerateColumns="False" 
            BorderWidth="0px" CellPadding="3">
            <Columns>
            <asp:HyperLinkField DataNavigateUrlFields="ID" 
                DataNavigateUrlFormatString="~/Song.aspx?ID={0}" 
                DataTextField="Name" HeaderText="Nafn lags"  />
            </Columns>    
            <HeaderStyle CssClass="tableHeader" />
        </asp:GridView>
    </div>

    </asp:Content>